package cn.wolfcode.p2p.util;

public class DataSourceUtil {
    public static ThreadLocal<String> datasourceKeyMap = new ThreadLocal<>();

    public static String getDateSourceKey(){
        return datasourceKeyMap.get();
    }

    public static void setDatasourceKey(String key){
        datasourceKeyMap.set(key);
    }
}
